package com.cyandpos.pad.activity;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.cyandpos.pad.R;
import com.cyandpos.pad.utils.CommonUtils;

import butterknife.BindView;

public class AboutActivity extends BaseActivity {
    @BindView(R.id.tv_dialog_title_name)
    TextView tv_dialog_title_name;//

  @BindView(R.id.tv_about_visen)
   TextView tvabout_visen;//订单类型

    @Override
    protected void initData() {

        tvabout_visen.setText("当前版本:"+CommonUtils.getCurrentVersionName(AboutActivity.this));
        tv_dialog_title_name.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                  finish();
            }
        });
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_about;
    }

    @Override
    protected void onResume() {
        super.onResume();
        tv_dialog_title_name.setText("关于BFPOS");

    }
}
